package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 护理项目Mapper接口
 */
@Mapper
public interface NursingProjectMapper {

    static void status(Long id, int status) {
    }

    Page<NursingProjectVo> selectByPage(@Param("name") String name, @Param("status") Integer status);

   void add(NursingProject nursingProject);

    void delete(Long id);

    NursingProjectVo select(Long id);

    void update(NursingProjectDto nursingProjectDto);
}